﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntryExit
{
    public interface ISqlDBManager
    {
         DataTable GetData(string commandName, CommandType commandType, DBName dbName, SqlParameter[] parameters);

         DataTable GetData(string commandName, CommandType commandType, DBName dbName);

         SqlConnection GetConnection(DBName dbName);

         DataTable GetDataTable(SqlCommand command);

         DataSet GetDataSet(SqlCommand command);

         DataSet GetData(string commandName, CommandType commandType, DBName dbName, SqlParameter[] parameters,string Type);
    }
}
